home *** CD-ROM | disk | FTP | other *** search
- /*
- File: OutgoingXLetter.h
-
- Contains: xxx put contents here xxx
-
- Written by: Tim Harnett
-
- Copyright: © 1995 by Apple Computer, Inc., all rights reserved.
-
- Change History (most recent first):
-
- <2> 1/27/95 TMH handle unresolved recipients
- <1> 1/13/95 TMH abstract class for outgoing letter
- 1/11/95 TMH xxx put comment here xxx
-
- To Do:
- */
-
- #ifndef __OutgoingXLetter__
- #define __OutgoingXLetter__
-
- #ifndef __XLetter__
- #include "XLetter.h"
- #endif
-
- class TExternalSlot;
- class TOutgoingALetter;
- class COutgoingLetterStream;
- class CContentReader;
- class TAOCEEnclosure;
- class CEnclosFileSummary;
-
- //--------------------------------------
- // T O u t g o i n g X L e t t e r
- //--------------------------------------
-
- // An outgoing external letter. This letter is created from the
- // outgoing AOCE letter.
-
- class TOutgoingXLetter : public TXLetter {
- public:
- TOutgoingXLetter();
- ~TOutgoingXLetter();
-
- void IOutgoingXLetter(TExternalSlot* xSlot, TOutgoingALetter* outgoingALetter,COutgoingLetterStream* outgoingStream);
-
- virtual void PutHeader();
- virtual void PutTrailer();
-
- virtual long PutRecipients(short recipientType);
-
- virtual void PutUnResolvedRecipients(short recipientType);
-
- virtual OSErr PutContent();
-
- virtual void PutText(CContentReader& contentReader);
- virtual void PutPict(CContentReader& contentReader);
- virtual void PutSound(CContentReader& contentReader);
- virtual void PutMovie(CContentReader& contentReader);
- // virtual void PutStyledText(CContentReader& contentReader);
-
- virtual void PutEnclosures();
- virtual void UploadEnclosureByIndex(unsigned short theIndex);
-
- virtual void PutNestedLetters();
- virtual void PutNestedLetter(MailMsgRef nestedMsgRef);
-
- virtual void PutNestedRecipients(MailMsgRef nestedMsgRef, short recipientType);
-
- virtual void AbortSend();
-
-
- protected:
- TOutgoingALetter* fOutgoingALetter; // the AOCE letter we found in out tray
- COutgoingLetterStream* fOutgoingLetterStream;
-
- TAOCEEnclosure* fAOCEEnclos;
- CEnclosFileSummary* fReturnSummary;
-
- };
-
-
- #endif __OutgoingXLetter__
-